<template>
	<view class="content">

		<!-- 手机信息 -->
		<view class="title">
			手机信息
		</view>

		<view class="phone">
			<view class="tup">

			</view>

			<view class="right">
				<view>
					iPone13Promax
				</view>
				<view>
					内存 :128g
				</view>

			</view>

		</view>

		<!-- 客户信息 -->
		<view class="title">
			客户信息
		</view>
		<u--form labelPosition="left" :model="model1" ref="uForm">
			<u-form-item label="下单人姓名:" borderBottom>
				<u--input v-model="model.userInfo.name" border="none"></u--input>
			</u-form-item>
			<u-form-item label="身份证号:" borderBottom>
				<u--input v-model="model.userInfo.name" border="none"></u--input>
			</u-form-item>
			<u-form-item label="手机号码:" borderBottom>
				<u--input v-model="model.userInfo.name" border="none"></u--input>
			</u-form-item>
			<u-form-item label="所在省:" borderBottom>
				<u--input v-model="model.userInfo.name" border="none"></u--input>
			</u-form-item>
			<u-form-item label="所在市:" borderBottom>
				<u--input v-model="model.userInfo.name" border="none"></u--input>
			</u-form-item>
			<u-form-item label="详细信息:" borderBottom>
				<u--input v-model="model.userInfo.name" border="none"></u--input>
			</u-form-item>
		</u--form>
		
		<!-- 紧急联系人信息 -->
		<view class="title">
			客服信息 <view style="color: red;font-size: 25rpx;">(至少一位家人)</view>
		</view>
		<view style="color: #A84335;font-size: 25rpx;margin: 20rpx 0;">
			温馨提示:请填写真实的姓名号码,可以是家人和经常联系的亲戚朋友,如果提供虚假联系人信息,会影响订单通过审核
		</view>
		
		<u--form labelPosition="left" :model="model1" ref="uForm">
			<u-form-item label="姓名:" borderBottom>
				<u--input v-model="model.userInfo.name" border="none"></u--input>
			</u-form-item>
			<u-form-item label="关系:" borderBottom>
				<u--input v-model="model.userInfo.name" border="none"></u--input>
			</u-form-item>
			<u-form-item label="号码:" borderBottom>
				<u--input v-model="model.userInfo.name" border="none"></u--input>
			</u-form-item>
			<u-form-item label="姓名:" borderBottom>
				<u--input v-model="model.userInfo.name" border="none"></u--input>
			</u-form-item>
			<u-form-item label="关系:" borderBottom>
				<u--input v-model="model.userInfo.name" border="none"></u--input>
			</u-form-item>
			<u-form-item label="号码:" borderBottom>
				<u--input v-model="model.userInfo.name" border="none"></u--input>
			</u-form-item>
			<u-form-item label="姓名:" borderBottom>
				<u--input v-model="model.userInfo.name" border="none"></u--input>
			</u-form-item>
			<u-form-item label="关系:" borderBottom>
				<u--input v-model="model.userInfo.name" border="none"></u--input>
			</u-form-item>
			<u-form-item label="号码:" borderBottom>
				<u--input v-model="model.userInfo.name" border="none"></u--input>
			</u-form-item>
		</u--form>



		<!-- 提交 -->
		<view class="main2">
			<view class="">
				<u-button class="m" @click="submit" type="primary">上一步</u-button>
			</view>
			<view class="">
				<u-button class="m" @click="submit" type="primary">确认购机</u-button>
			</view>
		</view>


	</view>
</template>

<script>
	export default {
		data() {
			return {
				model1: {
					userInfo: {
						name: '',
					},
				},
			}
		},
		methods: {
			submit() {
				console.log("点击了提交");
			}
		},
		mounted() {

		},
	}
</script>

<style lang="scss">
	.content {
		padding: 40rpx 50rpx;
	}

	.title {
		font-size: 36rpx;
		font-weight: bold;
		margin: 20rpx 0;
		height: 50rpx;
		line-height: 50rpx;
		display: flex;
	}

	.uni-form-item .title {
		padding: 20rpx 0;
	}

	.main {
		display: flex;
		justify-content: space-between;
		margin: 20rpx 0;
		font-size: 26rpx;

		.textred {
			color: red;
			margin-top: 10rpx;
		}
	}

	.main2 {
		display: flex;
		justify-content: center;
		width: 100%;

		view {
			width: 30%;
			margin: 0 20rpx;
		}
	}

	.phone {
		display: flex;

		.tup {
			width: 200rpx;
			height: 200rpx;
			background-color: yellow;
		}

		.right {
			view {
				margin: 20rpx;
			}
		}
	}
</style>